/**
 * 
 */
package com.manthano.applogin.management.bo;

import com.manthano.applogin.management.data.Salutation;
import com.manthano.applogin.management.data.UserType;
import com.manthano.scope.bo.StatefulScopeEntity;

/**
 * @author Dell
 */
public class AppUser extends StatefulScopeEntity
{
	/**
	 * 
	 */
	private static final long	serialVersionUID		= 287913474450912237L;
	private String				userId					= null;
	private String				userName				= null;
	private String				passwordHash			= null;
	private String				salt					= "vaibhavsingh";
	private UserType			userType				= null;
	private String				emailAddress			= null;
	private String				firstName				= null;
	private String				middleName				= null;
	private String				lastName				= null;
	private String				initials				= null;
	private Salutation			salutation				= null;
	private String				designation				= null;
	private String				ipAddress				= null;
	private boolean				active					= true;
	private boolean				expired					= false;
	private boolean				locked					= false;
	private boolean				passwordExpired			= false;
	private boolean				renewalRequested		= false;
	private boolean				isFirstTimeLogin		= false;
	private int					sendPasswordExpReminder	= -1;
	private boolean				acceptTermsConditions	= false;

	/**
	 * @return the userId
	 */
	public String getUserId()
	{
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId)
	{
		this.userId = userId;
	}

	/**
	 * @return the userName
	 */
	public String getUserName()
	{
		return userName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	/**
	 * @return the passwordHash
	 */
	public String getPasswordHash()
	{
		return passwordHash;
	}

	/**
	 * @param passwordHash
	 *            the passwordHash to set
	 */
	public void setPasswordHash(String passwordHash)
	{
		this.passwordHash = passwordHash;
	}

	/**
	 * @return the salt
	 */
	public String getSalt()
	{
		return salt;
	}

	/**
	 * @param salt
	 *            the salt to set
	 */
	public void setSalt(String salt)
	{
		this.salt = salt;
	}

	/**
	 * @return the userType
	 */
	public UserType getUserType()
	{
		return userType;
	}

	/**
	 * @param userType
	 *            the userType to set
	 */
	public void setUserType(UserType userType)
	{
		this.userType = userType;
	}

	/**
	 * @return the emailAddress
	 */
	public String getEmailAddress()
	{
		return emailAddress;
	}

	/**
	 * @param emailAddress
	 *            the emailAddress to set
	 */
	public void setEmailAddress(String emailAddress)
	{
		this.emailAddress = emailAddress;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName()
	{
		return firstName;
	}

	/**
	 * @param firstName
	 *            the firstName to set
	 */
	public void setFirstName(String firstName)
	{
		this.firstName = firstName;
	}

	/**
	 * @return the middleName
	 */
	public String getMiddleName()
	{
		return middleName;
	}

	/**
	 * @param middleName
	 *            the middleName to set
	 */
	public void setMiddleName(String middleName)
	{
		this.middleName = middleName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName()
	{
		return lastName;
	}

	/**
	 * @param lastName
	 *            the lastName to set
	 */
	public void setLastName(String lastName)
	{
		this.lastName = lastName;
	}

	/**
	 * @return the initials
	 */
	public String getInitials()
	{
		return initials;
	}

	/**
	 * @param initials
	 *            the initials to set
	 */
	public void setInitials(String initials)
	{
		this.initials = initials;
	}

	/**
	 * @return the salutation
	 */
	public Salutation getSalutation()
	{
		return salutation;
	}

	/**
	 * @param salutation
	 *            the salutation to set
	 */
	public void setSalutation(Salutation salutation)
	{
		this.salutation = salutation;
	}

	/**
	 * @return the designation
	 */
	public String getDesignation()
	{
		return designation;
	}

	/**
	 * @param designation
	 *            the designation to set
	 */
	public void setDesignation(String designation)
	{
		this.designation = designation;
	}

	/**
	 * @return the ipAddress
	 */
	public String getIpAddress()
	{
		return ipAddress;
	}

	/**
	 * @param ipAddress
	 *            the ipAddress to set
	 */
	public void setIpAddress(String ipAddress)
	{
		this.ipAddress = ipAddress;
	}

	/**
	 * @return the active
	 */
	public boolean isActive()
	{
		return active;
	}

	/**
	 * @param active
	 *            the active to set
	 */
	public void setActive(boolean active)
	{
		this.active = active;
	}

	/**
	 * @return the expired
	 */
	public boolean isExpired()
	{
		return expired;
	}

	/**
	 * @param expired
	 *            the expired to set
	 */
	public void setExpired(boolean expired)
	{
		this.expired = expired;
	}

	/**
	 * @return the locked
	 */
	public boolean isLocked()
	{
		return locked;
	}

	/**
	 * @param locked
	 *            the locked to set
	 */
	public void setLocked(boolean locked)
	{
		this.locked = locked;
	}

	/**
	 * @return the passwordExpired
	 */
	public boolean isPasswordExpired()
	{
		return passwordExpired;
	}

	/**
	 * @param passwordExpired
	 *            the passwordExpired to set
	 */
	public void setPasswordExpired(boolean passwordExpired)
	{
		this.passwordExpired = passwordExpired;
	}

	/**
	 * @return the renewalRequested
	 */
	public boolean isRenewalRequested()
	{
		return renewalRequested;
	}

	/**
	 * @param renewalRequested
	 *            the renewalRequested to set
	 */
	public void setRenewalRequested(boolean renewalRequested)
	{
		this.renewalRequested = renewalRequested;
	}

	/**
	 * @return the isFirstTimeLogin
	 */
	public boolean isFirstTimeLogin()
	{
		return isFirstTimeLogin;
	}

	/**
	 * @param isFirstTimeLogin
	 *            the isFirstTimeLogin to set
	 */
	public void setFirstTimeLogin(boolean isFirstTimeLogin)
	{
		this.isFirstTimeLogin = isFirstTimeLogin;
	}

	/**
	 * @return the sendPasswordExpReminder
	 */
	public int getSendPasswordExpReminder()
	{
		return sendPasswordExpReminder;
	}

	/**
	 * @param sendPasswordExpReminder
	 *            the sendPasswordExpReminder to set
	 */
	public void setSendPasswordExpReminder(int sendPasswordExpReminder)
	{
		this.sendPasswordExpReminder = sendPasswordExpReminder;
	}

	/**
	 * @return the acceptTermsConditions
	 */
	public boolean isAcceptTermsConditions()
	{
		return acceptTermsConditions;
	}

	/**
	 * @param acceptTermsConditions
	 *            the acceptTermsConditions to set
	 */
	public void setAcceptTermsConditions(boolean acceptTermsConditions)
	{
		this.acceptTermsConditions = acceptTermsConditions;
	}

}
